package dao;
import java.util.List;

import pojo.User;

public interface UserDao {
	public int addUser(User user);
	public int deleteUser(Integer id);
	public int updateUser(User user);
	public User loadUser(Integer id);
	public User loadUser(String name);
	public List<User> findAll();
}
